//
//  FlatAnnotation.m
//  FinApp
//
//  Created by Victor Leandro Fernandez Rodrigo on 11/11/11.
//  Copyright (c) 2011 FIB-Fàcultat d'informàtica de Barcelona. All rights reserved.
//

#import "FlatAnnotation.h"


@implementation FlatAnnotation

@synthesize coordinate, title, subtitle, imageView, flatTag;

- (id)initWithCoordinate:(CLLocationCoordinate2D)coord title:(NSString *)titl andSubtitle:(NSString*)subtitl {
  self = [super init];
  if (self != nil) {
    coordinate = coord;
    self.title = titl;
    self.subtitle = subtitl;
  }
  
  return self;
}

- (void)dealloc {
    [self setTitle:nil];
    [self setSubtitle:nil];
    [self setImageView:nil];
    [super dealloc];
}

@end